//
//  WebViewController.m
//  YoucApp
//
//  Created by Liam on 4/2/13.
//
//

#import "WebViewController.h"

@interface WebViewController ()

@end

@implementation WebViewController

- (id)init
{
    self = [super initWithNibName:@"CustomWebViewController" bundle:nil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)webViewDidFinishLoad:(UIWebView *)theWebView
{
	[super webViewDidFinishLoad:theWebView];
	
	self.title = [theWebView stringByEvaluatingJavaScriptFromString:@"document.title"];
}

@end
